/*! \file methodchecker.h
	\author HiddenSeeker
	This class is used for checking method and transforming it's code
 */
#include "methodvisitor.h"
#pragma once

class MethodChecker: public MethodVisitor
{
 private:	
	 bool transformCode();
	 bool checkLogic();
	 void checkResult();
	 void addInitCode();
	 void commonCheck();
 public:
	inline MethodChecker()
	{
			
	}
	/*! Action, performed after visiting class
	 */
	virtual void postVisitClass();
	virtual void visitClass();
	virtual void visitMethod();
	/*! Action, that is performed on visiting field
	 */
	virtual void visitField();
};